package com.thz.friend.pojo.exam;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.thz.common.core.pojo.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;


/**
 * @Description
 * @Author thz
 * @Date 2025/3/24
 */
@Getter
@Setter
@TableName("tb_exam")
public class Exam extends BaseEntity {

    @TableId(value = "EXAM_ID", type = IdType.ASSIGN_ID)
    private Long examId;

    private String title;

    private LocalDateTime startTime;

    private LocalDateTime endTime;

    private Integer status;
    
    private Integer types; // 0:竞赛 - 1:作业

    private Long courseId;

}
